package com.ruoyi.net.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 业务-mplstp路由对象 busi_mplstp_route_table
 *
 * @author net
 * @date 2024-12-25
 */
public class BusiMplstpRouteTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** tp业务主键 */
    @Excel(name = "tp业务主键")
    @ApiModelProperty(value = "tp业务主键")
    private String mplstpId;

    /** 路由方向(1正向 2反向) */
    @Excel(name = "路由方向(1正向 2反向)")
    @ApiModelProperty(value = "路由方向(1正向 2反向)")
    private String routeDirection;

    /** 路径类型（1工作路径2保护路径） */
    @Excel(name = "路径类型", readConverterExp = "1=工作路径2保护路径")
    @ApiModelProperty(value = "路径类型")
    private String routeType;

    /** 是否服务层(是 Y  否 N) */
    @Excel(name = "是否服务层(是 Y  否 N)")
    @ApiModelProperty(value = "是否服务层(是 Y  否 N)")
    private String serviceFlag;

    /** 网元id */
    @Excel(name = "网元id")
    @ApiModelProperty(value = "网元id")
    private String elementId;

    /** 端口id */
    @Excel(name = "端口id")
    @ApiModelProperty(value = "端口id")
    private String portId;

    /** 接口名称 */
    @Excel(name = "端口名称")
    @ApiModelProperty(value = "接口名称")
    private String portName;

    /** 端口标注 */
    @Excel(name = "端口标注")
    @ApiModelProperty(value = "端口标注")
    private String terminalLabel;

    /** 开始端口名称 */
    @Excel(name = "标签")
    @ApiModelProperty(value = "标签")
    private String label;

    /** 结束端口id */
    @Excel(name = "vlanId")
    @ApiModelProperty(value = "vlanId")
    private String vlanId;

    /** 条目状态（0未激活 1已激活） */
    @Excel(name = "条目状态", readConverterExp = "0=未激活,1=已激活")
    @ApiModelProperty(value = "条目状态")
    private String status;

    /** 删除标记（0正常 2删除） */
    private String delFlag;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setMplstpId(String mplstpId)
    {
        this.mplstpId = mplstpId;
    }

    public String getMplstpId()
    {
        return mplstpId;
    }
    public void setRouteDirection(String routeDirection)
    {
        this.routeDirection = routeDirection;
    }

    public String getRouteDirection()
    {
        return routeDirection;
    }
    public void setRouteType(String routeType)
    {
        this.routeType = routeType;
    }

    public String getRouteType()
    {
        return routeType;
    }
    public void setServiceFlag(String serviceFlag)
    {
        this.serviceFlag = serviceFlag;
    }

    public String getServiceFlag()
    {
        return serviceFlag;
    }
    public void setElementId(String elementId)
    {
        this.elementId = elementId;
    }

    public String getElementId()
    {
        return elementId;
    }
    public void setPortId(String portId)
    {
        this.portId = portId;
    }

    public String getPortId()
    {
        return portId;
    }
    public void setPortName(String portName)
    {
        this.portName = portName;
    }

    public String getPortName()
    {
        return portName;
    }
    public void setTerminalLabel(String terminalLabel)
    {
        this.terminalLabel = terminalLabel;
    }

    public String getTerminalLabel()
    {
        return terminalLabel;
    }
    public void setLabel(String label)
    {
        this.label = label;
    }

    public String getLabel()
    {
        return label;
    }
    public void setVlanId(String vlanId)
    {
        this.vlanId = vlanId;
    }

    public String getVlanId()
    {
        return vlanId;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("mplstpId", getMplstpId())
                .append("routeDirection", getRouteDirection())
                .append("routeType", getRouteType())
                .append("serviceFlag", getServiceFlag())
                .append("elementId", getElementId())
                .append("portId", getPortId())
                .append("portName", getPortName())
                .append("terminalLabel", getTerminalLabel())
                .append("label", getLabel())
                .append("vlanId", getVlanId())
                .append("status", getStatus())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
